function meta_check_onsets(proj_meta,cur_site,shad_all,vis_fl,snips)
tp=size(proj_meta(cur_site).rd,2);
res_mat={};
vis_mat={};
run_mat={};
for tnd=1:tp
    runM=proj_meta(cur_site).rd(1,tnd).velM_smoothed>0.005;
    for gnd=1:size(snips{tnd},1)
        res_mat{tnd}(gnd,:)=shad_all{tnd}(snips{tnd}(gnd,1):snips{tnd}(gnd,2));
        vis_mat{tnd}(gnd,:)=runM(snips{tnd}(gnd,1):snips{tnd}(gnd,2));
        run_mat{tnd}(gnd,:)=vis_fl{tnd}(snips{tnd}(gnd,1):snips{tnd}(gnd,2));
    end
end
cnt=1;
figure;
hold on
for tnd=1:tp
    subplot(3,tp,cnt)
    title shad_all
    imagesc(res_mat{tnd}(:,:))
    cnt=cnt+1;
end
for tnd=1:tp
    subplot(3,tp,cnt)
    title vis
    imagesc(vis_mat{tnd}(:,:))
    cnt=cnt+1;
end
for tnd=1:tp
    subplot(3,tp,cnt)
    title run
    imagesc(run_mat{tnd}(:,:))
    cnt=cnt+1;
end
